@class-prefix-mask: ~'gd-mask';

.@{class-prefix-mask} {
  display: flex;
  flex-direction: column;
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: all 0.5s;
  pointer-events: none;
  z-index: 1005;

  &-center {
    align-items: center;
    justify-content: center;
  }

  &-content {
    pointer-events: auto;
    position: relative;
    z-index: 1;
    transition: all (0.5 / 1.5);
    width: 100%;
  }

  &-hide {
    pointer-events: none;
    display: none;
  }

  &-mask {
    pointer-events: auto;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
  }
}
